//import java.util.Scanner;
/**
 * @author ：FeatherWaves
 * @description：TODO
 * @date ：2021/8/24 16:37
 */
//public class Exp {
//    public static void main(String[] args) {
//        Scanner scan = new Scanner(System.in);
//        while (scan.hasNextLine()) {
//            String[] str = scan.nextLine().split(".");
//            System.out.println(str[1].length());
//        }
//    }
//}

import java.util.Scanner;

import static java.lang.Math.sqrt;

public class Exp {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while (scan.hasNextInt()) {
            int a = scan.nextInt();
            int b = scan.nextInt();
            int c = scan.nextInt();
            double cir = a + b + c;
            double p = cir / 2.0;
            double mul = p * (p - a) * (p - b) * (p - c);
            double area = sqrt(mul);
            System.out.printf("circumference=%.2f area=%.2f", cir, area);
        }
    }

}